package com.why.serviceedu.service;

import com.why.serviceedu.bean.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.why.serviceedu.bean.chapter.ChapterVo;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author why
 * @since 2021-02-01
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getAllChapterVideoByCourseId(String courseId);

    boolean deleteById(String chapterId);

    void removeChapterByCourseId(String courseId);


}
